package com.en.controller.User;
import lombok.Data;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.time.LocalDate;
import java.time.LocalTime;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.*;


@Data
public class UserSearchDto implements Serializable {

    @ApiModelProperty("页码")
    Integer page_num = 1;

    @ApiModelProperty("每页多少条数据")
    Integer page_size = 10;

    private Integer id;

    private String mobile;

    private String truename;

    private String nickname;

    private String avatar;

    @ApiModelProperty("1：男  2：女")
    private Integer gender;

    private LocalDate birthday;

    private LocalDateTime create_datetime;

    private String buy_stage_ids;

    @ApiModelProperty("用户下一课是哪一课")
    private Integer next_class_id;

    private Integer study_word_count;

    @ApiModelProperty("只要用户复习或学习了，就+1。目的：同步多个设备之间的学习进度。")
    private Integer study_word_version;

    private Double discount;

    private LocalDateTime discount_start;

    private LocalDateTime discount_end;

    @ApiModelProperty("1：正常；-98：管理员删除；-99：已注销；")
    private Integer status;

    private LocalDateTime from_date;

    private LocalDateTime to_date;
}
